package hotel.base.oversea.constant;

/**
 * 常量值
 *
 * @author qiuyy
 * @date 2020-05-15
 */
public interface CallbackConstants {

    /////////////////////////////////价格房态相关////////////////////////////////////


    ////////////////全量标识
    String REDIS_KEY_NOT_CHECK_FOR_RP = "swmt_query_rp_not_check_cb";
    String REDIS_KEY_NOT_CHECK_FOR_STATUS = "swmt_query_status_not_check_cb";
    String REDIS_KEY_NOT_CHECK_FOR_PRICE = "swmt_query_price_not_check_cb";
    String REDIS_KEY_NOT_CHECK_FOR_ALL = "swmt_query_all_not_check_cb";

    String REDIS_ROW_GOODS_STATUS_CHECK = "swmt_this_job_get_state_json_equals";

    String REDIS_ROW_GOODS_PRICE_CHECK = "swmt_this_job_get_price_json_equals";

    ///////////////美团异步通道关闭开启
    String CLOSE_MT_CB_PRICE = "swmt_rpCallback_close";//异步价格
    String CLOSE_MT_CB_STATUS ="swmt_roomCallback_close";//异步房态

    Integer REDIS_SW_QUEUE_CLOSE_PRICE_MAX = 2000;//携程堆积大于2000时，关闭异步价格半小时

    /////////////异步通道和主动通道设置天数
    String SWMT_PRICE_STATUS_DAYS = "swmt_price_status_days";

    String SWMT_PRICE_STATUS_DAYS_CALLBACK = "swmt_price_status_days_callback";

    String SWMT_PRICE_STATUS_DAYS_JOB = "swmt_price_status_days_job";


    String REDIS_KEY_CALLBACK_CHANGE_STATUS_HEAD="swmt_meituan_push_hhb_change_status_data_";//标识产品房态+日期 记录最新房态，缓存key命名head部分 （异步和主动需要）
    String REDIS_KEY_CALLBACK_MT_STATUS_LAST_HEAD="swmt_meituan_push_hhb_change_status_data_last_";//美团异步推送方法内部需要，记录last房态日期

    String REDIS_KEY_CALLBACK_CHANGE_PRICE_HEAD="swmt_meituan_push_hhb_change_price_data_";//标识产品价格+日期 记录最新价格，缓存key命名head部分 （异步和主动需要）
    String REDIS_KEY_CALLBACK_CHANGE_PRICE_JOB="swmt_change_price_data_job";//供检测功能使用
    String REDIS_KEY_CALLBACK_SUB_PRICE_HEAD="swmt_callback_sub_price_head";//缓存佣金信息
    String REDIS_KEY_CALLBACK_MT_PRICE_LAST_HEAD="swmt_meituan_push_hhb_change_price_data_last_";//美团异步推送方法内部需要，记录last价格日期

    String REDIS_SWMT_QUEUE_CHANGE_CANCEL_GOODS = "swmt_queue_change_cancel_goods";

    String REMOVE_GOODS_DATE_INFO_START = "remove_goods_date_info_start";//删除产品日期缓存，推送全量，开始时间
    String REMOVE_GOODS_DATE_INFO_END = "remove_goods_date_info_end";//删除产品日期缓存，推送全量，结束时间
    String SWMT_VIP_HOTELS_PRICE_STATUS_DAYS = "swmt_vip_hotel_price_status_days";//优势酒店5天
    String SWMT_NORMAL_HOTELS_PRICE_STATUS_DAYS = "swmt_normal_hotel_price_status_days";//普通酒店3天
    String SWMT_VIP_HOTELS_PRICE_STATUS_FOR_CALLBACK = "swmt_vip_hotel_price_status_days_for_callback";//优势 异步用的天数缓存 SWMT_VIP_HOTELS_PRICE_STATUS_DAYS-1天  5-1
    String SWMT_NORMAL_HOTELS_PRICE_STATUS_FOR_CALLBACK = "swmt_normal_hotel_price_status_days_for_callback";//普通 异步用的天数缓存 SWMT_NORMAL_HOTELS_PRICE_STATUS_DAYS-1天 3-1
    String SWMT_PRICE_STATUS_DAYS_JOB_FOR_VIP = "swmt_price_status_days_job_for_vip";//定时器，新载入一天使用，vip
    String SWMT_PRICE_STATUS_DAYS_JOB_FRO_NORMAL = "swmt_price_status_days_job_for_normal";//定时器，新载入一天使用，normal
}
